Ensure that we always calculate clip regions for root windows
authorAlexander Larsson <alexl@redhat.com>
Thu, 25 Jun 2009 14:59:18 +0000 (16:59 +0200)
committerAlexander Larsson <alexl@redhat.com>
Thu, 25 Jun 2009 15:05:21 +0000 (17:05 +0200)
commit43bc999e6d68b1be8607c42baacdb0fd0fade3f4
tree18bacdad2df64a896be9ce350a81fd2bacbd00b6
parent794f2815de159c27e97d86d70f834636565a5b89
Ensure that we always calculate clip regions for root windows

Without this we can't draw to them, which caused problems for e.g.
gnome-settings-daemon clearing the background when the desktop
background changed.

Note: We don't actually clip away child windows from the root window,
the clip is just based on the size of the root window.
gdk/gdkwindow.c
gdk/x11/gdkevents-x11.c
gdk/x11/gdkwindow-x11.c